Positive class (machine learning)
In binary classification, the class you are testing for. For example, the positive class in a cancer model might be “tumor.” The positive class in an email classifier might be “spam.”1
The term positive class can be confusing because the “positive” outcome of many tests is often an undesirable result. For example, the positive class in many medical tests corresponds to tumors or diseases. In general, you want a doctor to tell you, “Congratulations! Your test results were negative.” Regardless, the positive class is the event that the test is seeking to find.1
Admittedly, you’re simultaneously testing for both the positive and negative classes.1